Abstracting Context in Event-Based Software

نویسندگان

  • Adrian Holzer
  • Lukasz Ziarek
  • K. R. Jayaram
  • Patrick Th. Eugster
چکیده

ing Context in Event-based Software Adrian Holzer, Lukasz Ziarek, K.R. Jayaram, and Patrick Eugster 1 Polytechnique Montréal, Montréal, Québec H3C 3A7, Canada 2 Fiji Systems Inc, Indianapolis IN 46202, USA 3 Purdue University, West Lafayette, IN 47907, USA Abstract. With the recent immersion of advanced mobile devices in the daily lives of millions, pervasive computing is becoming a reality. Developing pervasive software systems is inherently difficult as it requires to deal with heterogeneous infrastructure besides peer-to-peer communication and device mobility. Thus, programming support for such applications must provide loose coupling between different participants, as well as loose coupling between applications and communication protocols. Event-based programming provides an appealing paradigm to decouple participants, however many event-based systems and languages have hardwired communication protocols, which limits their adaptability to heterogeneous deployment environments. With the recent immersion of advanced mobile devices in the daily lives of millions, pervasive computing is becoming a reality. Developing pervasive software systems is inherently difficult as it requires to deal with heterogeneous infrastructure besides peer-to-peer communication and device mobility. Thus, programming support for such applications must provide loose coupling between different participants, as well as loose coupling between applications and communication protocols. Event-based programming provides an appealing paradigm to decouple participants, however many event-based systems and languages have hardwired communication protocols, which limits their adaptability to heterogeneous deployment environments. In this paper we address this issue by abstracting the context in which events are created and handled, including protocols used to convey, compose, and consume these events. More precisely, we propose to extend an event-based programming model with context aspects – conspects for short. We demonstrate the elegant usage of conspects through several examples based on their implementation in EventJava and illustrate how they allow to modularize event-based pervasive software. We also provide a thorough empirical investigation of the performance overheads and benefits of conspects, including the costs of weaving them dynamically. Through empirical evaluations, we assess the benefits of conspects for switching protocols without any changes to the base applications through three case studies with EventJava. The three studies are (1) a tornado monitoring system deployed on different architectures ranging from desktop x86 to embedded LEON3, (2) a mobile social networking suite with protocols for different scenarios, and (3) the introduction of a novel adaptive communication protocol in our mobile social network suite as well as in a novel robotic swarm application.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

A Framework for Interaction Description with Roles

We propose a framework for interaction description based on the paradigm of roles to be used in software development It includes processes to formulate global interaction requirements abstracting from con guration and interaction details and event traces to analyze global interaction properties like deadlock freedom The main constituent of the framework are role descriptions which are structure...

متن کامل

Automatic Calibration of HEC-HMS Model Using Multi-Objective Fuzzy Optimal Models

Estimation of parameters of a hydrologic model is undertaken using a procedure called “calibration” in order to obtain predictions as close as possible to observed values. This study aimed to use the particle swarm optimization (PSO) algorithm for automatic calibration of the HEC-HMS hydrologic model, which includes a library of different event-based models for simulating the rainfall-runoff pr...

متن کامل

Concepts and Tests for Trend in Recurrent Event Processes

Interest in the presence and nature of trend arises frequently in science, public health, technology, and many other areas. In this ar- ticle we discuss the notion of trend in the context of recurrent event processes. We discuss different frameworks within which one can inves- tigate trend and consider various ways in which trends may be manifest. Tests for trend are discussed in detail and t...

متن کامل

Sequential Event Pattern Based Design of Context-Aware Adaptive Application

Recent pervasive systems are designed to be context-aware so that they are able to adapt to continual changes of their environments. Rule-based adaptation, which is commonly adopted by these applications, introduces new challenges in software design and verification. Recent research results have identified some faulty or unwanted adaptations caused by factors such as asynchronous context updati...

متن کامل

Explaining the role of patterns of the event derived from natural and cultural factors in shaping the spatial patterns of vernacular architecture; Case study: Sar Agha Seyed village

Iranian vernacular architecture has a wide geographical scope and sustainability principles that need more than ever to be analyzed, reread and criticized scientifically and fairly. A reading that is the basis for improving the processes and methods of preserving these properties, the intervention method, achieving the cultural roots and architectural typology of Iran. As much influenced by nat...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:
  • Trans. Aspect-Oriented Software Development

دوره 9  شماره 

صفحات  -

تاریخ انتشار 2012